<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateMessagesTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('messages', function (Blueprint $table) {
            $table->increments('id');
            $table->text('message_field_1');
            $table->text('message_field_2');
            $table->text('message_field_3');
            $table->text('message_field_4');
            $table->text('message_field_5');
            $table->text('message_field_6');
            $table->text('message_field_7');
            $table->text('message_field_8');
            $table->text('message_field_9');
            $table->text('message_field_10');
            $table->text('message_field_11');
            $table->text('message_field_12');
            $table->text('message_field_13');
            $table->text('message_field_14');
            $table->text('message_field_15');
            $table->text('message_field_16');
            $table->text('message_field_17');
            $table->text('message_field_18');
            $table->text('message_field_19');
            $table->text('message_field_20');
            $table->string('ip');
            $table->integer('info');
            $table->integer('status');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('messages');
    }
}
